Optimal. Leaf size=69 \[ -\frac {1}{7 a x^7}+\frac {b}{5 a^2 x^5}-\frac {b^2}{3 a^3 x^3}+\frac {b^3}{a^4 x}+\frac {b^{7/2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{a^{9/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 69, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {331, 211}
\begin {gather*} \frac {b^{7/2} \text {ArcTan}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{a^{9/2}}+\frac {b^3}{a^4 x}-\frac {b^2}{3 a^3 x^3}+\frac {b}{5 a^2 x^5}-\frac {1}{7 a x^7} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 211
Rule 331
Rubi steps
\begin {align*} \int \frac {1}{x^8 \left (a+b x^2\right )} \, dx &=-\frac {1}{7 a x^7}-\frac {b \int \frac {1}{x^6 \left (a+b x^2\right )} \, dx}{a}\\ &=-\frac {1}{7 a x^7}+\frac {b}{5 a^2 x^5}+\frac {b^2 \int \frac {1}{x^4 \left (a+b x^2\right )} \, dx}{a^2}\\ &=-\frac {1}{7 a x^7}+\frac {b}{5 a^2 x^5}-\frac {b^2}{3 a^3 x^3}-\frac {b^3 \int \frac {1}{x^2 \left (a+b x^2\right )} \, dx}{a^3}\\ &=-\frac {1}{7 a x^7}+\frac {b}{5 a^2 x^5}-\frac {b^2}{3 a^3 x^3}+\frac {b^3}{a^4 x}+\frac {b^4 \int \frac {1}{a+b x^2} \, dx}{a^4}\\ &=-\frac {1}{7 a x^7}+\frac {b}{5 a^2 x^5}-\frac {b^2}{3 a^3 x^3}+\frac {b^3}{a^4 x}+\frac {b^{7/2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{a^{9/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 69, normalized size = 1.00 \begin {gather*} -\frac {1}{7 a x^7}+\frac {b}{5 a^2 x^5}-\frac {b^2}{3 a^3 x^3}+\frac {b^3}{a^4 x}+\frac {b^{7/2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{a^{9/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.04, size = 61, normalized size = 0.88
method | result | size |
default | \(\frac {b^{4} \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{a^{4} \sqrt {a b}}-\frac {1}{7 a \,x^{7}}-\frac {b^{2}}{3 a^{3} x^{3}}+\frac {b}{5 a^{2} x^{5}}+\frac {b^{3}}{a^{4} x}\) | \(61\) |
risch | \(\frac {\frac {b^{3} x^{6}}{a^{4}}-\frac {b^{2} x^{4}}{3 a^{3}}+\frac {b \,x^{2}}{5 a^{2}}-\frac {1}{7 a}}{x^{7}}+\frac {\left (\munderset {\textit {\_R} =\RootOf \left (a^{9} \textit {\_Z}^{2}+b^{7}\right )}{\sum }\textit {\_R} \ln \left (\left (3 \textit {\_R}^{2} a^{9}+2 b^{7}\right ) x -a^{5} b^{3} \textit {\_R} \right )\right )}{2}\) | \(88\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.53, size = 62, normalized size = 0.90 \begin {gather*} \frac {b^{4} \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{\sqrt {a b} a^{4}} + \frac {105 \, b^{3} x^{6} - 35 \, a b^{2} x^{4} + 21 \, a^{2} b x^{2} - 15 \, a^{3}}{105 \, a^{4} x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.59, size = 154, normalized size = 2.23 \begin {gather*} \left [\frac {105 \, b^{3} x^{7} \sqrt {-\frac {b}{a}} \log \left (\frac {b x^{2} + 2 \, a x \sqrt {-\frac {b}{a}} - a}{b x^{2} + a}\right ) + 210 \, b^{3} x^{6} - 70 \, a b^{2} x^{4} + 42 \, a^{2} b x^{2} - 30 \, a^{3}}{210 \, a^{4} x^{7}}, \frac {105 \, b^{3} x^{7} \sqrt {\frac {b}{a}} \arctan \left (x \sqrt {\frac {b}{a}}\right ) + 105 \, b^{3} x^{6} - 35 \, a b^{2} x^{4} + 21 \, a^{2} b x^{2} - 15 \, a^{3}}{105 \, a^{4} x^{7}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.12, size = 112, normalized size = 1.62 \begin {gather*} - \frac {\sqrt {- \frac {b^{7}}{a^{9}}} \log {\left (- \frac {a^{5} \sqrt {- \frac {b^{7}}{a^{9}}}}{b^{4}} + x \right )}}{2} + \frac {\sqrt {- \frac {b^{7}}{a^{9}}} \log {\left (\frac {a^{5} \sqrt {- \frac {b^{7}}{a^{9}}}}{b^{4}} + x \right )}}{2} + \frac {- 15 a^{3} + 21 a^{2} b x^{2} - 35 a b^{2} x^{4} + 105 b^{3} x^{6}}{105 a^{4} x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.49, size = 62, normalized size = 0.90 \begin {gather*} \frac {b^{4} \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{\sqrt {a b} a^{4}} + \frac {105 \, b^{3} x^{6} - 35 \, a b^{2} x^{4} + 21 \, a^{2} b x^{2} - 15 \, a^{3}}{105 \, a^{4} x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.06, size = 59, normalized size = 0.86 \begin {gather*} \frac {b^{7/2}\,\mathrm {atan}\left (\frac {\sqrt {b}\,x}{\sqrt {a}}\right )}{a^{9/2}}-\frac {\frac {1}{7\,a}-\frac {b\,x^2}{5\,a^2}+\frac {b^2\,x^4}{3\,a^3}-\frac {b^3\,x^6}{a^4}}{x^7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________